/***************************************************************************
 *   Copyright (C) 2008, 2009 by MJ   *
 *   hanfman_cool@web.de   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
 
 //steamserverutil.h - is a part from steamserverutil by MJ
//steamserverutil.googlecode.com



//variables:
//version variable:
extern char _version [];

//global variables
extern char param[500];	//here are the params from function choice_params() saved and the path of the server for mani admin plugin
extern char workdir[];	
extern unsigned short int server[];
extern int i;

//to test if server is currently installed (is set true when server is installed)
extern bool server_css, server_dods, server_garrysmod, server_hl2mp, server_tf; //for mani_test() in mani.cpp

extern bool installed; //is set true when server is installed

//functions:

//extern void config_mani();

void not_installed(void);
void never_happen(void);
void system_check(int);
bool is_installed(void);
void server_path(unsigned short int);
//void start_param(unsigned short int, char, bool);
void install(void);
void param_choice(void);
void start(void);
void favorites(int temp = -1);
void update_client(void);
void update_server(void);
void delete_server(void);
void about(void);
